package cn.itsource.pethome.department.service;

import cn.itsource.pethome.base.service.IBaseService;
import cn.itsource.pethome.department.domain.Department;
import cn.itsource.pethome.department.query.DepartmentQuery;
import cn.itsource.pethome.util.PageList;
import org.springframework.stereotype.Component;

import java.util.List;
public interface IDepartmentService extends IBaseService<Department> {



    Long count(DepartmentQuery departmentQuery);


    //批量删除
    void deleteAll(List<Long> ids);
    List<Department> deptTree();
}
